#include<stdio.h>
int main()
{
	int a = 1;
	while(a<10)
	{ 
		if (a == 4)
			continue;
		printf("%d ", a);
		a++;
	}
	return 0;
}